package cn.edu.sdjzu.xg23.kcsj01_backend.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @author 张烁瑜
 * @Date 2025/6/3 21:47
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
//会议
public class Conference {
    private Long id;            //主码,会议ID
    private String name;        //会议名称
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startTime;     //会议开始日期
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endTime;       //会议截止日期
    private String place;       //会议地点

    //参会信息
    private List<ParticipatingConference> participatingConferences;

}